import axios from 'axios'
import {getUser} from "./auth";

// 创建axios实例
const service = axios.create({
  baseURL: "http://192.168.109.132:7300/mock/605bdf614bf8ad0e7116f0d7/tensquare", // api的base_url
  timeout: 30000, // 请求超时时间
  headers:{'Authorization':'Bearer '+getUser().token}
})

export default service
